package com.xiaoshuidi.cloud.module.rooms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 公寓（集中式房源）
 * </p>
 *
 * @author author
 * @since 2023-04-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("apartment")
@Schema(description="公寓（集中式房源）")
public class TestEsData implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "房间house id")
    private Integer roomHouseId;

    @Schema(description = "公寓id")
    private Integer apartmentId;

    @Schema(description = "集中式判定")
    private Integer isConcentrated;

    @Schema(description = "纬度")
    private String lat;

    @Schema(description = "经度")
    private String lon;

    @Schema(description = "房源类型")
    private String sourceType;

    @Schema(description = "公寓楼层id")
    private Integer floorId;

//    @Schema(description = "当前楼层")
//    private Integer floorNo;
//
//    @Schema(description = "总楼层")
//    private Integer floorSum;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "区域")
    private String district;

    @Schema(description = "商圈")
    private String block;

    @Schema(description = "街道")
    private String address;

    @Schema(description = "小区名称")
    private String residence;

    @Schema(description = "房屋户型-室")
    private Integer bedroomNum;

    @Schema(description = "房屋户型-厅")
    private Integer livingroomNum;

    @Schema(description = "房屋户型-厨")
    private Integer kitchenNum;

    @Schema(description = "房屋户型-卫")
    private Integer toiletNum;

    @Schema(description = "朝向")
    private String facetoType;

//    @Schema(description = "租客信息(租客姓名（tenantName），租客手机号（tenantPho）的map组成的list)")
//    private List<Map<String,String>> tenantinfo;

    @Schema(description = "出租状态")
    private String rentStatus;

    @Schema(description = "是否整租")
    private Boolean isWhole;

    @Schema(description = "面积")
    private Float space;

    @Schema(description = "价格")
    private Float price;

    @Schema(description = "装修情况")
    private String decoration;

//    @Schema(description = "房态")
//    private String houseState;


}
